fs/xfs: Propagate incorrect inode error from grub_xfs_read_inode
authorEgor Ignatov <egori@altlinux.org>
Thu, 23 Jan 2025 17:44:15 +0000 (20:44 +0300)
committerFelix Zielcke <fzielcke@z-51.de>
Wed, 11 Jun 2025 15:42:34 +0000 (17:42 +0200)
commita6071127148193a14ec370407660b4c948830b13
treedd52ccdd7bba2a63f9953a13e5ea9c3b58ec52b2
parent1d5fed3a96f57e3da0c4e4bc40a6f4a5486983a0
fs/xfs: Propagate incorrect inode error from grub_xfs_read_inode

The incorrect inode error from grub_xfs_read_inode did not propagate because
grub_print_error() resetted grub_errno, and grub_xfs_iterate_dir() did not
handle it at all.

Signed-off-by: Egor Ignatov <egori@altlinux.org>
Gbp-Pq: Topic cve-2025-jan
Gbp-Pq: Name fs-xfs-Propagate-incorrect-inode-error-from-grub_xfs_read.patch
grub-core/fs/xfs.c